function redirectTo(page) {
    window.location.href = page;
}

function redirectToDetail(categoryId) {
    window.location.href = `category_detail.html?categoryId=${categoryId}`;
}
